php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#150177 - 12/03/01 04:32 PM [6.1x] Megamod 2.0
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Title: Megamod 2.0 Final

Tested on ubb: 6.1.0.4

Description: Makes a new status of a moderator to every board(like an administrator) without being listed, but no access to control panel(if not desired).

Download: http://www.ubbdev.com/ubb/upload/00006378/megamod.zip

Bug fixes since last version:
v1.0-Inital release for 6.01
v1.5-Ported to 6.1 betas, fixing the posting bug
v2.0-Final (Fixed demodding bug)

ZIP includes: Multihack, patch for authority list, jimbo's custom status, and stars/status 6.0. and instructions on how to add megamods to control panel settings.

Top
#150178 - 12/03/01 04:37 PM Re: [6.1x] Megamod 2.0
bond2036 Offline
Junior Member

Registered: 09/24/01
Posts: 6
Loc: uk
~Thanks m8 my mods been pestering me about this hehe~
_________________________
Copying isnt stealing laugh so dont feel bad

Top
#150179 - 12/03/01 05:17 PM Re: [6.1x] Megamod 2.0
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Great Raiyan. Any changes from the pre-final in the Beta forum?

Top
#150180 - 12/03/01 05:49 PM Re: [6.1x] Megamod 2.0
Telekinesis Offline
Member

Registered: 06/02/01
Posts: 285
Loc: Florida
probably bug fixes, nice hack!

Top
#150181 - 12/03/01 05:50 PM Re: [6.1x] Megamod 2.0
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Quote:
quote:


Yes actually. I had to do alot of changes, throughout. I suggest rehacking. All changes occur in the same places as previous betas of this hack.

Top
#150182 - 12/04/01 12:27 AM Re: [6.1x] Megamod 2.0
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Ok well I'll have to re-install it then.

Top
#150183 - 01/01/02 01:09 PM Re: [6.1x] Megamod 2.0
Eliza Offline
Member

Registered: 01/28/01
Posts: 45
Loc: Manassas, Virginia
Everything installed fine except that when I went to go to megamod settings it says "You do not have permission to access this area." I'm an admin I should be able to access it. Do you know where I might have gone wrong?
_________________________

Top
#150184 - 01/03/02 06:42 PM Re: [6.1x] Megamod 2.0
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by Eliza:
Everything installed fine except that when I went to go to megamod settings it says "You do not have permission to access this area." I'm an admin I should be able to access it. Do you know where I might have gone wrong?</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">

looks like you missed hacking cp.cgi or forgot to upload it.

Top
#150185 - 01/05/02 03:54 PM Re: [6.1x] Megamod 2.0
PeteB Offline
Junior Member

Registered: 07/24/01
Posts: 6
I feel REALLY stupid, but I updated all the files as said in the install, and uploaded the additional files, but I can't find where I assign mega mods from. I looked all over the CP?

Also, what is the .mhx file in the ZIP?

Top
#150186 - 01/05/02 04:11 PM Re: [6.1x] Megamod 2.0
theepH Offline
Junior Member

Registered: 08/02/01
Posts: 11
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by PeteB:
I feel REALLY stupid, but I updated all the files as said in the install, and uploaded the additional files, but I can't find where I assign mega mods from. I looked all over the CP?

Also, what is the .mhx file in the ZIP?
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">


Well the megamod menu should be in "Primary Settings" you may wanna run thru the code again cause maybe you missed something <img src="biggrin.gif" border="0" alt="" />

as for the .mhx file ,thats if you use the www.multihack.com to install your hacks.

Top
#150187 - 01/05/02 07:49 PM Re: [6.1x] Megamod 2.0
Ice Man_00 Offline
Junior Member

Registered: 11/03/01
Posts: 14
Hello.

Great hack BTW, but i have one question.

In the mhx file, i`ll get one error.

Can`t find this somewhere in my file:

[code][/code]

I have also tried to search the file manual, but it isn`t there... <img src="frown.gif" border="0" alt="" />

Hope you can help.

Top
#150188 - 01/06/02 06:34 AM Re: [6.1x] Megamod 2.0
pumpkin Offline
Member

Registered: 11/29/01
Posts: 164
Loc: Rome, Italy
cp_vars_misc.pl
lines 38-40 for me
<img src="biggrin.gif" border="0" alt="" />
good luck
_________________________
Just another boring 17-year-old
and yes, I like smilies/graemlins

Top
#150189 - 01/06/02 04:45 PM Re: [6.1x] Megamod 2.0
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Yes, it is in the primary settings in the cp_common.pl file(in your templates directory).

The directions there are:

Find:
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=vars_mod&r=$ran> - Moderator Settings</option>");

Add Below:

document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=vars_megamod&r=$ran> - MegaModerator Settings</option>");


p.s. You guys need to go over EVERYTHING to install. You can't skip anything. It's all in the directions!!

<font color="#000000" size="1">[ 01-06-2002 04:46 PM: Message edited by: raiyan ]</font>

Top
#150190 - 01/19/02 05:48 AM Re: [6.1x] Megamod 2.0
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
Little problem.

</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Undefined subroutine &main::SetCustomStatusSettings called at cp.cgi line 803.</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">

I'm getting that every time I try to edit the MegaMod's rank in the CP. I'm using qasic's custom rank hack, and I'm running UBB 6.1.0.3. Any ideas? <img src="frown.gif" border="0" alt="" />

Top
#150191 - 01/19/02 08:16 AM Re: [6.1x] Megamod 2.0
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Rehack both hacks from known good backups.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#150192 - 01/19/02 11:16 AM Re: [6.1x] Megamod 2.0
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
OK, thanks. smile But I think I've found out where it is.

[code][/code]

I can't find any of that in either cp_forums.cgi or cp_lib.cgi (I had to look in both cause the instructions didn't make sense). Any other ideas, please? <img src="frown.gif" border="0" alt="" />

<font color="#000000" size="1">[ 01-19-2002 11:31 AM: Message edited by: CTM ]</font>

Top
#150193 - 01/23/02 11:09 AM Re: [6.1x] Megamod 2.0
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
Post 24-hour bump.

I think the cp_forums.cgi business is sorted, but now I can't access any area in my CP. I always get the Non-Admin-Or-Mod message ("Only administrators or moderators may perform this action.").

Any help...?

Top
#150194 - 01/23/02 12:18 PM Re: [6.1x] Megamod 2.0
rictor Offline
Junior Member

Registered: 01/23/02
Posts: 5
Sorry about that. This is raiyan, i'm at work and don't have my password or ubb files here, so i'll answer to the best of my knowledge.

The code you posted is in cp_forums(near the bottom under sub mods), is to make sure megamods aren't set to mods when they are chosen to be shown in the mod lists. So that can't be the problem.

I believe your problem is in cp_users.cgi. Go back through that file and see if everything matchs up.

As soon as i get home later today, i'll check back.

By the way, what version are you using? If it's the ubb in your homepage link (6.04d), then i can't guarrentee that this hack will work on anything below 6.1.

<font color="#000000" size="1">[ 01-23-2002 12:44 PM: Message edited by: rictor ]</font>

Top
#150195 - 01/23/02 03:41 PM Re: [6.1x] Megamod 2.0
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Little Rock, AR
Nope, i was wrong. It's in cp_lib.cgi under sub CheckPermission_CP.

Make sure you have this:

if (($profile[8] ne 'Administrator') && ($profile[8] ne 'Moderator') && ($profile[8] ne 'MegaModerator')) {
print qq%Content-type: text/htmlnn%;
&AppendAdminLog($username, $status, "Log In", "Failed", "User is NOT an Admin or Mod");
&StandardHTML("Sorry, you are not an administrator or moderator, so you may not gain access to the control panel.");
}

Under this:

if ($public_name eq "") {
$public_name = $profile[0];
}

and above this:


#return status
&AppendAdminLog($username, $status, "Log In", "Succeeded", "User is a $profile[8]");

Again, this won't work on versions in the 6.0.x series.

Top
#150196 - 01/26/02 10:42 AM Re: [6.1x] Megamod 2.0
Demolition Offline
Member

Registered: 01/02/02
Posts: 157
you cant download this hack when you click on the link?

Top
Page 1 of 3 1 2 3 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks